import request from '@/utils/request'

/** 登录接口 */
export const loginApi = (data) => {
    return request({
        method: 'POST',
        url: '/ipuser/login',
        data
    })
}   

/** 一级菜单 */
export const firstMenuApi = (data) => {
    return request({
        method: "POST",
        url: "/menu/listFirstLevelMenuForUser",
        data
    })
}

/** 二级、其他菜单 */
export const otherMenuApi = (data) => {
    return request({
        method: "POST",
        url: "/menu/listOthersMenuForUser",
        data
    })
}